﻿
using System;
using IScheduler.Core.Services;

namespace IScheduler.Core
{
    public static class UtilService
    {
        /// <summary>
        /// Generate new Session Guid
        /// </summary>
        /// <returns>Return new guid.</returns>
        public static string GenerateSessionGuid()
        {
            return ServiceManager.UtilService.GenerateSessionGuid();
        }
        
        /// <summary>
        /// Compare two dates
        /// </summary>
        /// <param name="dayA"></param>
        /// <param name="dayB"></param>
        /// <returns></returns>
        public static bool  CompareTwoDates(DateTime dayA, DateTime dayB)
        {
        	return ServiceManager.UtilService.CompareTwoDates(dayA, dayB);
        }
    }
}
